package com.example.chcrm.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.chcrm.entity.common.ResponseMsg;
import com.example.chcrm.entity.employee.Department;

/**
 * @Author 邹
 * @Date 2025/4/17 1:30
 * @Version 1.0
 */
public interface DepartmentService <T>{
    /**
     *查询
     **/
    public ResponseMsg<IPage<Department>> pageList(Department department);

    ResponseMsg<Object> add(Department department);

    ResponseMsg<Object> delete(String id);

    ResponseMsg<Object> disable(Department department);

    ResponseMsg<Object> update(Department department);

    ResponseMsg<Object> selectAllDepartment();
}
